MMPP analysis of network traffic using a transition window

ABSTRACT

Data communication in network traffic is modeled in real time and is analyzed using a 2-state Markov modified Poissen process (MMPP). The traffic inter-arrival times for bursty and idle states define a transition window [λ 1   max , λ 2   min ] represented by the boundary values λ 1   max  for the inter-arrival time for bursty traffic, and λ 2   min  for the inter-arrival time for idle traffic. Changes in the values of λ 1   max  and λ 2   min  are tracked over time, and the size of the transition window is enlarged or decreased based upon relative changes in these values. If the inter-rival times for the bursty state and the idle state become approximately equal, the model defaults to a single state model. The modeling is applicable to the synchronization of polling and blocking in a low-latency network system. This permits the adoptive selection of poll or block to maximize CPU utilization and interrupt latency.

CROSS REFERENCE TO RELATED APPLICATIONS

[0001] The present application is related to the following copending U.S. patent applications: U.S. Ser. No. 09/607,103, filed Jun. 29, 2000, entitled “Method and System for Reducing Latency in Message Passing Systems” (Docket No. RPS920000014US1); U.S. Ser. No. 09/607,113, filed Jun. 29, 2000, for “Method and System for Predicting Inter-Packet Delays” (Docket No RPS920000017US1); and U.S. Ser. No. 09/607,133, filed Jun. 29, 2000, for “Multilevel Analysis of Self-Similar Network Traffic” (Docket No. RPS920030017US1). These patent applications all are assigned to the assignee of the present invention. The content of these cross-referenced co-pending applications is hereby incorporated herein by reference.

FIELD OF THE INVENTION

[0002] This invention relates in general to the field of computer technology, and particularly to systems for the transfer of data. More specifically, the invention relates to the real-time modeling and analysis of the data communication aspect of network traffic.

BACKGROUND OF THE INVENTION

[0003] The flow of information in a network is often called ‘traffic’. Units of information used in network communication are referred to as ‘packets’. Packets generally arrive at a point in the network at random intervals resulting in ‘bursts’ of traffic, causing congestion and ‘idle’ periods in which traffic is somewhat more sparse.

[0004] Systems that use a network for communication can benefit from the analysis and characterization of the network traffic to optimize the critical performance parameters that are involved in that communication. An example of the application of this type of analysis is the synchronization of a user process with the completion of the receive operation at the system to network interface. A common design problem with this process is the need to determine when the receive data is available at the input buffers. The method of synchronization used can directly affect the latency of the receive operation and the utilization of the host computer processor. One way to do the analysis of the network traffic is to provide a model that recognizes the characteristics of the network traffic. Since network traffic has been shown to be bursty, a method used to analyze network traffic should be able to represent behavior that is bursty.

[0005] Different methods are known for analyzing and characterizing network traffic. The Poisson Process is widely utilized to model aggregate traffic from voice sources. Bursty traffic has been shown to be approximated by a Markov modulated Poisson process (MMPP). An MMPP model can be a very effective means to provide effective network traffic analysis of data communication, either in batch mode or, preferably, in real time.

[0006] Low-latency network architectures provide special mechanisms to improve the performance of the network interconnect in message-passing systems. The synchronization of the user process with the completion of the receive operation at the network interface card (NIC) has the common design problem that it needs to be determined when receive data is available at the input buffers. One of the mechanisms used for synchronization is interrupts (blocking), but the problem with interrupts is that they can add to the cost of synchronization with excessive latency and CPU utilization. Polling is a mechanism intended to help reduce the high latency of interrupts by polling on a completion signal as an alternative to waiting for an interrupt as a method to synchronize the user process with the completion of the receive operation. If the polling is done from user space, then the time needed for kernel transitions is saved, thus reducing the latency of the operation even further. The polling operation, however, uses the host processor during the time it is polling the completion flag. Therefore, if the message arrival delay exceeds the interrupt time, then the increase in host processor utilization will actually have a negative impact on the performance of the application. It becomes necessary to select between polling and blocking (waiting for the interrupt) depending on the delay of the message. Therefore, two important concerns regarding the performance of the network interconnect are the overall latency of the message communication and the CPU overhead involving the send and receive primitives. The goal is to balance the latency requirements with the host processor utilization requirements to obtain the best performance for the various arrival patterns experienced at the NIC receive input port.

SUMMARY OF THE INVENTION

[0007] The present invention describes a method for the real-time analysis of network traffic based on a 2-state MMPP model The method can be used at the user-network interface during data transfer for the synchronization of a user process with the completion of the receive operation. A transition window [λ¹ _(max), λ² _(min)] is used to analyze the state transition parameters corresponding to the packet inter-arrival time between the bursty state and the idle state.

[0008] Among the advantages of using this transition window are:

[0009] a) the accuracy of the selection; b) the ability to use dynamic algorithms that are adaptive to the workload; and c) the flexibility of the dynamic algorithms to adaptively adjust the burst length (busty state) to satisfy the requirements of the user process. Further advantages of the present invention include, for example, 1) a reduction in system storage requirements, since it is not necessary to store all received packets for further off-line analysis; 2) immediate real-time availability of information from the analysis for administrative and management purposes to identify or alleviate network problems; 3) availability of current usage information when resources, such as memory buffers or communication bandwidth, are otherwise allocated to support specific services; and 4) a reduction of dependency on human intervention, allowing for the fully automated future network management systems.

[0010] The invention includes a method and a system for adaptively analyzing communication of packets of data in a network traffic using a 2-state MMPP model. The inter-arrival λ_(i) time of individual data packets is determined, as well as whether the packet arrival rates are ‘bursty’ (λ¹) representing heavy traffic conditions or ‘idle’ (λ²) representing light traffic conditions. A transition window is established with the values λ¹ _(max) and λ² _(min) representing the transition between bursty traffic and idle traffic. The probability ρ is determined as to whether a packet inter-arrival time is occurring in bursty traffic ρ¹ or in idle traffic ρ². The analysis of network traffic can be carried out in real-time. Typically, the bursty packet inter-arrival time has a mean value of λ¹ _(mean), the idle packet inter-arrival time has a mean value of λ² _(mean), and the traffic characteristics are such that λ¹ _(mean)<<λ² _(mean). As the value for λ¹ _(mean) begins to approximate the value for λ² _(mean), the model can be set to default to a single state MMPP model. Changes in the values of λ¹ _(max) and λ² _(min) can be tracked over time and the size of the transition window can be enlarged or decreased based upon relative changes in these values.

BRIEF DESCRIPTION OF THE DRAWINGS

[0011] The understanding of the present invention is facilitated by reference to the following flow diagrams, timing diagrams and other drawings as follows.

[0012]FIG. 1 is an illustration of an MMPP for modeling burst and idle network traffic;

[0013]FIG. 2 is a flow diagram showing the correlation of MMPP model parameters;

[0014]FIG. 3 describes four possible models of a network traffic stream;

[0015]FIG. 4 is a state diagram of the MMPP model;

[0016]FIG. 5 is a logic flow diagram;

[0017]FIG. 6 is a flow chart showing implementation of adaptive selection of CPU utilization deadlines; and

[0018]FIG. 7 shows a magnetic disc symbolizing a medium for the execution of the program.

DETAILED DESCRIPTION OF THE INVENTION

[0019] An illustration of a 2-state MMPP model is shown in FIG. 1. The model 110 is a bimodal sequencer that serves to predict inter-message arrival delays. It consists of a “bursty” state 112 represented as P¹, with a high packet arrival rate, and an “idle” state 118 represented by P², with a low packet arrival rate. The bursty state describes the network traffic when a burst of packets 114 occurs during heavy traffic conditions. During these bursts, the packet inter-arrival time is much smaller than the average packet arrival time, and is Poisson distributed with a mean inter-arrival time of λ¹ _(mean). The idle state 118 describes the network traffic 120 between bursts, when the traffic is light and the Poisson distributed packet inter-arrival time has a mean value λ² _(mean). When the packet inter-arrival time is less than λ¹ _(max) and λ² _(min), all arrivals are in the bursty state. When the times are all above λ² _(min), the arrivals are in the idle state. When the inter-arrival time slows down so that λ>λ² _(min) and λ>λ¹ _(max), the model transitions at 116 from the bursty state to the idle state. Conversely, when the arrival time becomes faster and λ<λ² _(min) and λ<λ¹ _(max), the model returns along 122 to the bursty state.

[0020] For the 2-state MMPP model to be a valid representation of the network traffic, the behavioral characteristics of the traffic are such that λ¹ _(mean)<<λ² _(mean). In the model, the traffic inter-arrival times for the bursty and idle states are represented by the boundary values λ¹ _(max) and λ² _(min), respectively. For the special case where λ¹ _(mean) is approximately equal to λ² _(mean), the model defaults to a single state model. This is explained in greater detail below. These values are used as the transition criteria between bursty and idle states, as shown in FIG. 1.

[0021] Since the representation of the network traffic in a model is an approximation, the length of the burst during state P¹ is an approximation with burst edges that are defined somewhat arbitrarily. In practice, the burst length is defined to satisfy the requirements of the user process. For example, in the synchronization of a user process with the completion of the receive operation at the system to network interface, the burst length is defined to aid in the selection between polling and blocking, in which case the burst length is determined by the interrupt latency time. As previously noted, the traffic inter-arrival times for the bursty and idle states are represented by the boundary values λ¹ _(max) and λ² _(min), respectively. These boundary values define a transition window [λ¹ _(max), λ² _(min)] that has as the left side the parameter λ¹ _(max) and the right side the parameter λ² _(min). The parameter klmax determines an upper boundary for the packet inter-arrival time for the bursty state while λ² _(min) is the parameter that determines a lower boundary for the packet inter-arrival time for the idle state. For the bursty state, λ¹ _(max) defines the probability ρ¹ that a packet with inter-arrival time lower than λ¹ _(max) belongs to the bursty state. Similarly, for the idle state, λ² _(min) defines the probability ρ² that a packet with inter-arrival time higher than λ² _(min) belongs to the idle state. Based on these probabilities, a decision can be made for each arriving packet of the particular state transition induced by the arrival.

[0022] Algorithms are described that allow the model to track changes in the network traffic dynamically. As the network traffic characteristics change over time, the mean inter-arrival times for the bursty state (λ¹ _(mean)) and for the idle state (λ² _(mean)) also change over time. For the model to track these changes over time, the values λ¹ _(max) and λ¹ _(min) change in proportion to the changes in the traffic. The time values λ¹ _(max) and λ² _(min) define the sides of a transition window of length k=λ² _(min)−λ¹ _(max). The size of the transition window [λ¹ _(max), λ² _(min)] can be changed dynamically to be used in adaptive algorithms that control the process transition between states. For implementation in an algorithm used in that fashion, the transition window [λ¹ _(max), λ² _(min)] can become larger or smaller by changing the value of λ² _(min) and λ¹ _(max) accordingly. The specific value of the parameters used depends on the specific application of the algorithm.

[0023]FIG. 2 shows a diagram for the state machine view of the algorithm that uses the transition matrix as the basis of the next state transition. A current inter-arrival time λ_(i) 202 is compared at 206 with the maximum burst time λ¹ _(max) and the minimum idle time λ² _(min). Based on this, either P¹ or P² is selected at 208 based on whether the value for λ_(i) is more likely to belong to the bursty state or the idle state. This selection goes into state memory 210 and a decision is then made at 212 whether to adjust the model parameters. If the answer is yes, the new values for klmax and λ² _(min) are determined at 216 and are sent to be compared at 206. If no adjustment is required, the old values are returned for further comparison.

[0024] Examples of the use of this algorithm are:

[0025] a) the model adapts dynamically to changes in the workload, and

[0026] b) the burst length (bursty state) is adjusted to satisfy the requirements of the user process.

[0027] Although typically the network traffic can be characterized as being bimodal and thereby described by the MMPP model, a special case occurs under light traffic conditions where the network traffic can be characterized by a simple Poisson distribution. As traffic intensity goes down, the mean inter-arrival time λ¹ _(mean) of the bursty state approaches that of the idle state inter-arrival time λ² _(mean) to the point where the two are no longer distinguished by the model. When the characteristics of the traffic are such that λ² _(mean) approximately equals λ¹ _(mean), a single state in the MMPP model is used to represent the network traffic.

[0028] Packet arrivals and inter-burst transitions are detected in the following manner. Assume that packet P_(i−1) presently belongs to burst state P¹. Then, the task is to detect whether packet P_(i) belongs still to burst state P¹ or to the idle state P². The detection logic compares the incoming packet inter-arrival time λ_(i) with λ¹ _(max) and λ¹ _(min). This is illustrated in FIG. 3 wherein the packet arrivals are shown as vertical arrows 302. For this scenario, there are four possible cases, shown as Case 1 (304), Case 2 (306), Case 3 (308) and Case 4 (310). The transition window [λ¹ _(max), λ² _(min)] is illustrated here as a shaded rectangle 412 and the incoming packet P_(i) is illustrated as an X.

[0029] Case 1. λ_(i)<λ¹ _(max)<λ² _(min): P_(i) is detected to belong to burst state P¹.

[0030] Case 2. λ_(i)>λ² _(min)>λ¹ _(max): P_(i) is detected to belong to idle state P².

[0031] Case 3. λ¹ _(max)<λ_(i)<λ² _(min): P_(i) is detected to be inside of the transition window [λ¹ _(max), λ² _(min)]. In this case, the next state transition which is selected is dependent upon the user process requirements. As will be shown, this method can be applied to improve the performance of the network attached devices. In particular, application of the transition window approach to manage the synchronization process in low-latency, high-bandwidth networks will be shown.

[0032] Case 4. λ_(i)<λ¹ _(max) and λ_(i)>λ² _(min): This is not a valid combination because both cannot occur with λ¹ _(max) being smaller than λ² _(min).

[0033]FIG. 4 shows how the model adjusts adaptively to changes in the workload and automatically makes a correction to the results in the selections of the transition between states. The boundaries established by the parameters λ¹ _(max) and λ² _(min) determine the model parameters. Therefore, the value of parameters λ¹ _(max) and λ² _(min) change automatically to reflect the mean inter-arrival time of the incoming traffic.

[0034] In this algorithm, it is not necessary to compute the mean inter-arrival time for the burst state and for the idle state after every arrival. If it is required to realize certain savings in computation for performance reasons, it is possible to do the computation of the mean inter-arrival time and to readjust the value of λ¹ _(max) and λ² _(min) upon receipt of every X number of packets, where X can be specified. The justification of this algorithm is explained as follows.

[0035] First, check 406 the inter-arrival time λ_(i) 402 for the incoming packet. If the packet time is as indicated with a value that is less than λ¹ _(max) and λ² _(min), the probability is that it is belongs in burst packet P¹ 408. If the value is greater than λ¹ _(max) and λ² _(min), the probability is that it belongs in the idle packet P² 510. If the inter-arrival time λ_(i) 402 for the incoming packet is within the transition window [λ¹ _(max), λ² _(min)] (Case 3), then the flow goes to 412, where a check is made of the current measurement and a decision is made whether to go to state P₁ for bursty or to P₂ for idle That decision is entirely application dependent. The decision as to whether the packet is bursty or idle goes into state memory 418. A reference value is given for the mean inter-arrival time in the bursty state λ¹ _(mean-ref) and a reference value for the mean inter-arrival time in the idle state λ² _(mean-ref). This gives the reference value for the transition window parameters [λ¹ _(max-ref), λ² _(min-ref)]. Assume the network traffic characteristics change so that the mean inter-arrival time of the new traffic in the bursty state is λ¹ _(mean-new) (420) and the new mean inter-arrival time in the idle state is λ² _(mean-new) (422). Define the probability p¹ that a packet with inter-arrival time lower than λ¹ _(max) belongs to the bursty state. Define the probability p² that a packet with inter-arrival time higher than λ² _(min) belongs to the idle state. This usually is defined so that p¹>>p².

[0036] If λ¹ _(mean-new)=N*λ¹ _(mean-ref), and λ² _(mean-new)=M*λ² _(mean-ref), then the new transition window is determined at 428 and 430 as

[λ¹ _(max-new) =N*λ ¹ _(max-ref), λ² _(min-new) =M*λ ² _(min-ref)].

[0037] This is based on principles that can be proven mathematically by equating the integral of the exponential distribution with a mean value λ¹ _(mean-ref) from λ¹ _(max-ref) to infinity to the probability p¹. Then, the integral of the exponential distribution with a mean value N*λ¹ _(mean-ref) to infinity is also equal to p¹. From this follows the desired results. A similar derivation can be followed for the idle state.

[0038] The present invention also relates to the use of a transition window and an MMPP in a low-latency network user process synchronization in the following manner. Some of the policies for the implementation of polling and blocking (waiting for interrupts) are the optimal policy, the poll policy (or spin policy), the block (or wait for interrupt) policy and the poll-block policy. The following provides a summary of performance for the various policies. The symbols listed below are used:

[0039] λ^(d)=the message arrival delay time (since the start of the synchronization period),

[0040] tLAT=receive latency (can exceed the arrival delay time),

[0041] tLAT-BOUND=bound for the receive latency,

[0042] tOH=the processor overhead due to polling and/or interrupt processing (time period),

[0043] tOH-BOUND=bound for the processor overhead,

[0044] tp=polling time: poll(tp).

[0045] tBLK=interrupt overhead time.

[0046] With the optimal policy, the receiving process can predict the delay of the expected message. If the delay is less than the interrupt overhead, then the process polls on a completion flag and the latency is minimized. If the delay is more than the interrupt overhead, then the process will block (will wait until it is interrupted) and excessive overhead due to polling is avoided. In practice, this policy is not realizable because there is no way that the process can predict exactly what the delay is for the expected message (although it can be approximated.) However, the optimal policy provides a good baseline for other methods that have as a goal to get as close to this bound as possible. For the optimal policy, the processor overhead (tOH) and transaction latency (tLAT) are as follows:

[0047] if λd<tBLK, then poll:

[0048] tOH=td,

[0049] tLAT=td,

[0050] if λd>=tBLK, then block:

[0051] tOH=tBLK,

[0052] tLAT=td+tBLK,

[0053] With the poll policy, the receiving process polls on a completion flag. This policy can provide good performance if the receive operation completes within a reasonably short amount of time. However, polling can consume processor utilization that could otherwise be used by the application. For the poll(tp) policy, the processor overhead (tOH) and transaction latency (tLAT) are:

[0054] tOH=td,

[0055] tLAT=td,

[0056] With the block policy, the receiving process always blocks and waits for an interrupt to complete the receive operation. This policy is good when used to overcome the limitations of polling but, for short messages and frequent message arrivals, it contributes significant latency and processor overhead. For the block policy, the processor overhead (tOH) and transaction latency (tLAT) are:

[0057] tOH=tBLK,

[0058] tLAT=td+tBLK

[0059] The poll-block policy does not attempt to predict the delay of the expected message, but instead attempts to “minimize its losses”. With this policy, the process polls the completion flag for a time equal to the interrupt overhead. If it has not detected completion at the end of this time period, it blocks to wait for an interrupt. This policy achieves a cost that is no worse than twice that of the optimal policy (twice the interrupt overhead delay time). For the poll(tp)-block policy, the processor overhead (tOH) and transaction latency (tLAT) are:

[0060] if λd<tBLK, then the process polls for time td and:

[0061] tOH=td, (tp=TBLK)

[0062] TLAT=td, (tp=tBLK)

[0063] if kd>=tBLK, then the process polls for time λd=tp=tBLK and:

[0064] tOH=td+tBLK,

[0065] tLAT=td+tBLK,

[0066] Bounding the message latency (tLAT):

[0067] tLAT=tLAT-BOUND<=λd+tBLK, if λd<tBOUND

[0068] Bounding the processor overhead (tOH)

[0069] tp+tBLK<tOH-BOUND

[0070] The present invention provides a solution to the problem of deciding between polling and blocking (waiting for interrupts) with a policy that attempts to make a prediction on what the delay of the expected message is likely to be. The decision on whether to poll or to block is made based on the Markov modulated Poisson process (MMPP) model characterizing the flow of traffic to a network adapter (for receive operations). The model characterizing the traffic and the parameters of the model are provided in a table, where the task making the poll vs. block is made. The performance of this policy will be between that of the optimal policy and the poll-block policy. If the prediction accuracy approaches 100%, then the cost will be closer to the optimal policy. If the prediction accuracy approaches 0%, then the cost will be closer to the poll-block policy. The accuracy of the prediction, as noted below, depends on the traffic and how effectively the algorithm can predict the presence of bursts in the traffic and the size of these bursts. Because of the bursty nature of network traffic, this approach can do much better than the poll-block policy, but no worse.

[0071] A diagram of the selection system is shown in FIG. 5. To implement the method, it is necessary to have a measurement of the traffic pattern as a reference on which to make predictions and the process obtains a time-stamp of the incoming packets. The time-stamp of two consecutive packets is recorded and the difference between the present incoming packet (t₁) and the previous packet (t₂) is recorded. The difference λ^(i)=t₁−t₂, for the measurement in some interval i, is assumed to be representative of the traffic pattern with some level of error.

[0072] There are two main cases to consider: bursty traffic or non-bursty traffic. If the traffic is bursty, then the value for the λ^(i) measurements is compared with T_(B) at 506 and 512. If λ^(i)<T_(B), then polling is used and the decision is made to continue polling 506 to 502. If, on the other hand, λ^(i)>T_(B), then blocking is used and the decision is made to continue blocking (512 to 508) or to go from polling to blocking (506 to 508).

[0073] However, the poll-block policy can do better. If the traffic is bursty, then the transition window [λ¹ _(max), λ² _(min)] is examined to see if λ^(i)>λ¹ _(max) and λ^(i)<λ² _(min). If so, the λ^(i) is inside the transition window and the poll-block policy can provide better results. This occurs in the transition between states as follows:

[0074] Case 1. λ_(i)<λ¹ _(max)<λ² _(min): P_(i) belongs to the bursty state. Therefore, poll.

[0075] Case 2. λ_(i)>λ² _(min)>λ¹ _(max): P_(i) belongs to the idle state. Therefore, block.

[0076] Case 3. λ¹ _(max)<λ_(i)<<λ² _(min): P_(i) is inside the transition window. Therefore, poll(tp)-block.

[0077] The size of the transition window is left to the specification of the designer. However, certain guidelines need to be followed. By making the transition window tighter or smaller, the accuracy of the selection of the next state is increased. On the other hand, the window length cannot be zero because, when the window size is zero, the selection of the poll(tp)-block policy is precluded.

[0078] Several techniques illustrate the application of the invention to adaptive selection of poll vs. block when there is a deadline either for the CPU utilization or the latency. One approach for using the transition window is to fix the value of the λ¹ _(max) parameter as the same value as that specified for the interrupt latency. On the other hand, if a deadline is specified for either the CPU utilization or for the maximum latency of arrival, then the following adaptive algorithm can be used. For example, where it is desired to optimize the CPU utilization, a deadline U_(d) is given for a maximum value of the CPU utilization U_(CPU) below which the arrival latency is minimized. However, for CPU utilization above this value, the goal then is to minimize the CPU utilization.

[0079] The flow chart in FIG. 6 shows how this algorithm is implemented. First, the inter-arrival time λ_(i) 602 for an incoming packet is checked (606). If the packet time is as indicated at 608 (bursty) as noted in Case 1, or at 610 (idle) as noted in Case 2, then there is no need to take any action. If, however, the inter-arrival time λ_(i) 602 for the incoming packet is within the transition window (Case 3), then the flow goes to test 612. There, a check is made of the current measurement for the CPU utilization. If the utilization U_(cpu) is below the deadline U_(d), then the parameter λ¹ _(max) is set to the specified reference value λ¹ _(max-ref) (616). On the other hand, if the utilization _(Ucpu) is above the deadline U_(d), then the parameter λ¹ _(max) is set to a modified value, the reference value λ¹ _(max-ref) that is proportional to the ratio of the current CPU utilization and the deadline value: U_(CPU)/U_(d) (618).

[0080]FIG. 7 shows a computer-readable medium in the form of a floppy disc 700 for containing the software implementation of the program to carry out the various steps of modeling the network traffic according to the present invention. Other machine readable storage mediums are fixed hard drives, optical discs, magnetic tapes, semiconductor memories, such as read-only memories (ROMs), programmable (PROMs), etc. The article containing this computer readable code is utilized by executing the code directly from the storage device, or by copying the code from one storage device to another storage device, or by transmitting the code on a network for remote execution.

[0081] While the invention has been described in combination with specific embodiments thereof, there are many alternatives, modifications, and variations that are likewise deemed to be within the scope thereof. Accordingly, the invention is intended to embrace all such alternatives, modifications and variations as fall within the spirit and scope of the appended claims. 

What is claimed is:
 1. A method for adaptively analyzing communication of packets of data in a network traffic using a 2-state MMPP model, comprising the steps of: a) measuring the inter arrival time between individual data packets; b) determining whether the packet arrival rates are ‘bursty’ (λ¹) representing heavy traffic conditions or ‘idle’ (λ²) representing light traffic conditions; c) establishing a transition window with the values [λ¹ _(max), λ² _(min)] represented by the boundary values λ² _(max) for the upper inter-arrival time for bursty traffic, and λ² _(min) for the lower inter-arrival time for idle traffic; and d) determining the probability ρ¹ that a packet inter-arrival time is occurring in bursty traffic or the probability ρ² that the arrival time is occurring in idle traffic.
 2. The method according to claim 1 wherein the analysis of network traffic is carried out in real-time.
 3. The method according to claim 1 wherein the bursty packet inter-arrival time has a mean value of λ¹ _(mean), the idle packet inter-arrival time has a mean value of λ² _(mean), and the traffic characteristics are such that λ² _(mean) normally is substantially smaller than λ¹ _(mean).
 4. The method according to claim 3 wherein as λ² _(mean) approximates λ¹ _(mean), the analysis defaults to a single state MMPP model.
 5. The method according to claim 1 further including the step of tracking changes in the values of λ¹ _(max) and λ² _(min) over time and enlarging or decreasing the size of the transition window based upon relative changes in these values.
 6. The method according to claim 5 wherein the changes are tracked by computing the mean inter-arrival time of a plurality of packets.
 7. The method according to claim 1 wherein the burst length during the bursty state is determined by the interrupt latency time wherein the model is used for the synchronization of a user process with the completion of the receive operation at the system to network interface.
 8. A system for modeling and analyzing data communication in network traffic based upon the inter-arrival time of individual data packets, including: a) a 2-state MMPP algorithm useful for determining whether the packet arrival rates are ‘bursty’ (λ¹) representing heavy traffic conditions or ‘idle’ (λ²) representing light traffic conditions; b) a transition window [λ¹ _(max), λ² _(min)] represented by the boundary values λ¹ max for the inter-arrival time for bursty traffic, and λ² _(min) for the inter-arrival time for idle traffic, and c) the capability for determining the probability ρ¹ that a packet inter-arrival time is occurring in bursty traffic or the probability ρ² that the arrival time is occurring in idle traffic.
 9. The system according to claim 8 further including the capability for carrying out the modeling and analysis of network traffic in real-time.
 10. The system according to claim 8 wherein the bursty packet inter-arrival time is assigned a mean value of λ¹ _(mean), the idle packet inter-arrival time is assigned a mean value of λ² _(mean), and the traffic characteristics are such that λ² _(mean)<<λ¹ _(mean).
 11. The system according to claim 10 including a default wherein as λ² _(mean) approximates λ¹ _(mean), the system defaults to a single state MMPP model.
 12. The system according to claim 8 further including the ability to track changes in the values of λ¹ _(max) and λ² _(min) over time and to enlarge or decrease the size of the transition window based upon relative changes in these values.
 13. The system according to claim 12 wherein the change tracking ability permits tracking of changes by computing the mean inter-arrival time of a plurality of packets.
 14. The system according to claim 8 wherein the model is used for the synchronization of a user process with the completion of the receive operation at the system to network interface, and the burst length during the bursty state is determined by the interrupt latency time.
 15. An article comprising a computer-readable medium which stores computer-executable instructions for processing traffic flow patterns associated with network data transmission, the instructions causing a machine to: a) receive traffic pattern data associated with the network transmission of data packets relating to the times of arrival of network data packets; b) apply an MMPP algorithm to the received pattern; and c) repeat the steps a) and b) one or more additional times at different time levels.
 16. The article according to claim 13 wherein the medium includes instructions for the synchronization of polling and blocking in a low-latency network system.
 17. The method of using a transition window [λ¹ _(max), λ² _(min)] based on an MMPP model to implement a poll-block policy, comprising the steps of: a) measuring the traffic pattern to use as a reference by recording the time stamp of two consecutive packets (t₂ followed by t₁) and calculating the time interval between packets as λ_(i)=t₁−t₂; b) predicting the delay of an incoming message based on the measured traffic pattern; c) if the traffic is within the transition window, implementing a poll(tp)block policy which switches from polling to blocking when λ_(i) is greater than λ² _(min) and from blocking to polling when λ_(i) is less than λ¹ _(max).
 18. The method according to claim 17 wherein the value of λ¹ _(max) is set the same as the value for an interrupt latency.
 19. The method according to claim 17 further including the use of the poll-block policy to optimize CPU utilization (U_(cpu)) by: establishing a deadline U_(d) for the maximum value of U_(cpu) below which the arrival latency is minimized; checking the current U_(cpu); and setting the parameter λ¹ _(max) to a specified reference value λ¹ _(max-ref) if the utilization is below U_(d), or setting the parameter λ¹ _(max) to a modified reference value of λ¹ _(max-ref) that is proportional to the ratio of the current CPU utilization and the deadline value U_(cpu)/U_(d). 